package com.cdu.guoxinan.www.smartcom.service;

import com.cdu.guoxinan.www.smartcom.domian.dto.VehicleQueryDTO;
import com.cdu.guoxinan.www.smartcom.domian.pojo.Vehicle;
import com.cdu.guoxinan.www.smartcom.domian.vo.VehicleVO;
import com.github.pagehelper.PageInfo;

public interface VehicleService {
    PageInfo<VehicleVO> queryPage(VehicleQueryDTO vehicleQueryDTO);

    boolean add(Vehicle vehicle);

    boolean update(Vehicle vehicle);

    boolean delete(Integer id);

    boolean parkingSpot(Vehicle  vehicle);
}
